
<!DOCTYPE html>

<html lang="en">
<head>
        <meta charset="utf-8">
        
        
        <link href="<?php echo base_url(); ?>css/main.css" type="text/css" rel="stylesheet" />
        <link href="<?php echo base_url(); ?>css/main_scroll.css" type="text/css" rel="stylesheet" />    
        <link href="<?php echo base_url(); ?>css/s3Slider.css" type="text/css" rel="stylesheet" />    
        <?php if ($title == 'Logbook Management') { ?>
            <link href="<?php echo base_url(); ?>css/logbook.css" type="text/css" rel="stylesheet" />    
        <?php } ?>
        <?php if ($title == 'Event Management') { ?>
            <link href="<?php echo base_url(); ?>css/event.css" type="text/css" rel="stylesheet" />    
        <?php } ?>
        

        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery-1.8.0.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>js/infobubble.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>js/scroll-js.js"></script>
        
        <?php
           if ($title == 'Event Management' && $subtitle == '- Add Items' )
           { ?>
                <link rel="stylesheet" href="<?php echo base_url(); ?>css/jquery/jquery.ui.all.css"/>
                <script src="<?php echo base_url() ?>js/jquery.ui.core.js"></script>
                <script src="<?php echo base_url() ?>js/jquery.ui.widget.js"></script>
                <script src="<?php echo base_url() ?>js/jquery.ui.datepicker.js"></script>
                <link rel="stylesheet" href="<?php echo base_url(); ?>css/demos.css" />
                     <script type="text/javascript">
                     $(function() {
                           $( "#datepicker" ).datepicker({
                                    showOn: "button",
                                    buttonImage: "<?php echo base_url().
                                            'assets/sprites/calendar.gif'?>",
                                    buttonImageOnly: true
                            }); 
                    });
                </script>
           <?php };
         ?>
        <title><?php echo $title.$subtitle; ?></title>
        </head>
    <body 
        <?php if ($title == 'Logbook Management' && $subtitle == '- Manage Activity' ) echo "onload='ajax_actResult();'" ?>
    >
        
       <div class="container">
            <div class ="header">
                <!--  begin of  logo      -->
                  <div class="logo">
                      <a href=" "> <img src="<?php echo base_url() ?>assets/screen/logo-sharearea.png"></a>
                  </div>
                <!--end of logo-->
                
                <!--begin of menu-->
                  <?php
                  if ($title == 'Logbook Management') {
                  ?>
                    <div class="menu">
                            <a href="<?php echo base_url() ?>index.php/logbook/"><div class="m_beranda">Calendar View</div></a>
                            <a href="<?php echo base_url() ?>index.php/logbook/activity"><div class="m_tambah">Activity</div></a>
                            <a href="<?php echo base_url() ?>"><div class="m_bantu">Go Home</div></a>
                        </div>
                        
                  <?php };?>

                  <?php
                  if ($title == 'Event Management') {
                  ?>
                    <div class="menu">
                            <a href="<?php echo base_url() ?>index.php/eventman/"><div class="m_beranda">Calendar View</div></a>
                            <a href="<?php echo base_url() ?>index.php/eventman/items"><div class="m_cari">Add Events</div></a>                
                            <a href="<?php echo base_url() ?>index.php/eventman/search"><div class="m_cari">Find Events</div></a>                
                            <a href="<?php echo base_url() ?>"><div class="m_bantu">Go Home</div></a>
                    </div>
                  <?php };?>       


            </div>
           <!--end of menu-->

            <!--begin of content-->
            <div class="content">